<?php
class imgDelAction extends rareAction{
	public function execute(){}
	public function executePost(){
		$id = $this->getPostParam('id',0);
		if($id==0) jsonReturn(0,'fail');
		$dao = new DaoImage();
		$dao->del("id='$id'");
		jsonReturn(1,'ok');
	}
}
?>
